@extends('admin.inc.base')
@section('content')
   <table class="table">
       <tr>
           <th>序号</th>
           <th>分类名称</th>
           <th>创建时间</th>
           <th>更新时间</th>
           <th>操作</th>
       </tr>
       @foreach( $cids as $key => $val )
               <tr>
                   <td>{{ $key}}</td>
                   <td>{{ $val['title'] }}</td>
                   <td>{{ $val['created_at'] }}</td>
                   <td>{{ $val['updated_at'] }}</td>
                   <td><a href="/administrator/postCid/{{ $val['id'] }}/edit">编辑</a>&nbsp;<a href="/administrator/postCid/{{ $val['id'] }}/delete">删除</a></td>
               </tr>
       @endforeach
   </table>

@endsection